package com.js.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.js.blog.bean.UserPermission;
import com.js.blog.dao.UserPermissionMapper;

import java.util.List;

/**
 * @author yanglin
 * @create 2024-03-01 16:18 星期五
 * description:
 */
public interface UserPermissionService extends IService<UserPermission> {

    /**
     * 根据userId查询用户权限
     */
    List<UserPermission> getByUserId(Long userId);
}
